//	@file Version: 1.0
//	@file Author: Mindsaver
StartProgress = false;
enableSaving[false,false];

X_Server = false;
X_Client = false;
if(isServer) then { X_Server = true;};
if(!isDedicated) then { X_Client = true;};

execVM "briefing.sqf";

wwin= 0;
ewin = 0;
win = 0;
win = (paramsArray select 0);
Escore = 0; 
Wscore = 0;
city1_status= 0;
city2_status= 0;
city3_status= 0;
city1_process = 0;
city2_process = 0;
city3_process = 0;
this setVariable ["selections", []];
this setVariable ["gethit", []];

true spawn { 

	if(!isDedicated) then {
		[] execVM "client\playerspawn.sqf";
	};


};
if(X_Client) then {
	waitUntil {player == player};
	//Wipe Group.
	[] execVM "client\init.sqf";
};


if(X_Server) then {

    diag_log format["WASTELAND SERVER - Initilizing Server"];
	[] execVM "server\init.sqf";
};
setGroupIconsVisible [true, true];
